<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <div class="a">
      <!-- 仅替换 .box1 内部 -->
      <div class="box1">
        <h3>邮箱登录</h3>

        <div class="login-line">
          <!-- 左侧标签+输入框 -->
          <div class="inputs">
            <label>
              <span>账号：</span>
              <input type="text" id="user" placeholder="请输入账号" />
            </label>
            <label>
              <span>密码：</span>
              <input type="password" id="pwd" placeholder="请输入密码" />
            </label>
          </div>

          <!-- 右侧登录按钮 -->
          <button onclick="login()">登录</button>
        </div>
      </div>
      <div class="box2">
        <div class="box10">服务<br />大厅</div>
        <div class="box11">办公<br />系统</div>
      </div>
      <div class="box3">
        <div class="box4">学校宣传片</div>
        <div class="box5">网络教学平台</div>
        <div class="box6">科技管理平台</div>
        <div class="box7">学习贯彻习近平新时代<br />中国特色社会主义思想</div>
        <div class="box8">资产管理系统</div>
        <div class="box9">值班表</div>
      </div>
    </div>
  </body>
  <style>
    .a {
      width: 1450px;
      height: 150px;
      background-color: red;
      display: flex;
    }
    .box1 {
      width: 350px;
      height: 150px;
      background: #fff;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
      padding: 18px 20px;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .box1 h3 {
      margin: 0;
      font-size: 16px;
      color: #333;
      font-weight: bold;
      align-self: flex-start;
    }

    .login-line {
      display: flex;
      gap: 12px;
      align-items: center;
    }

    .inputs {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .inputs label {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      color: #555;
    }
    .inputs input {
      width: 140px;
      height: 30px;
      padding: 0 8px;
      border: 1px solid #dcdfe6;
      border-radius: 4px;
      font-size: 13px;
    }

    button {
      width: 70px;
      height: 70px;
      margin-left: 20px;
      background: red;
      color: #fff;
      font-size: 14px;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }
    button:hover {
      background: #66b1ff;
    }
    .box2 {
      width: 400px;
      height: 150px;
      background-color: white;
      display: flex;
      flex-wrap: wrap;
      align-content: flex-start;
      justify-content: space-between;
      justify-content: space-around;
      align-items: center;
      text-align: center;
    }
    .box3 {
      width: 700px;
      height: 150px;
      background-color: white;
      display: flex;
      flex-wrap: wrap;
      align-content: flex-start;
      gap: 10px;
      justify-content: space-between;
      align-items: center;
      text-align: center;
      flex-direction: column;
    }
    .box4 {
      width: 200px;
      height: 60px;
      background-color: rgb(170, 207, 159);
      color: brown;
    }
    .box5 {
      width: 200px;
      height: 60px;
      background-color: rgb(34, 58, 26);
      color: brown;
    }
    .box6 {
      width: 200px;
      height: 60px;
      background-color: rgb(8, 25, 3);
      color: brown;
    }
    .box7 {
      width: 200px;
      height: 60px;
      background-color: rgb(48, 154, 16);
      color: brown;
    }
    .box8 {
      width: 200px;
      height: 60px;
      background-color: rgb(61, 35, 103);
      color: brown;
    }
    .box9 {
      width: 200px;
      height: 60px;
      background-color: rgb(61, 35, 103);
      color: brown;
    }
    .box10 {
      width: 150px;
      height: 150px;
      background-color: rgb(39, 167, 58);
      color: brown;
    }
    .box11 {
      width: 150px;
      height: 150px;
      background-color: rgb(166, 126, 38);
      color: brown;
    }
    .box10,
    .box11,
    .box4,
    .box5,
    .box6,
    .box7,
    .box8,
    .box9 {
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
    }
  </style>
</html>
